<h1>Administrator's Login</h1>

<p><? if (isset($error_message)) echo '<span class="page_error">'.$error_message.'</span>' ?></p>

<form action="login" method="post">
    <p><label for="email">Email:</label>
        <input type="text" name="email" id="email" value="<?=set_value('email')?>"/>
        <span class="error_message"><?=form_error('email')?></span></p>
    <p><label for="password">Password:</label>
        <input type="password" name="password" id="password" />
        <span class="error_message"><?=form_error('password')?></span></p>
    <p><input type="submit" value="Login"></p>
</form>